package com.zx.service;

import com.zx.entity.Role;
import com.zx.entity.User;

import java.util.List;

/**
 * @author 程仟磊
 * @date 2021/7/24
 */

public interface RoleInte {
    List<Role> findAllRole(String page);
    List<Role> findRoleNoUid(String usid);

    int getPages();

    void addMenuToRole(String rid, String[] mid);

    int findAccount(String rname);

    void addRole(String rname);

    void deleteRole(String rid);
}
